package gisutil
{
	import com.esri.ags.geometry.Extent;
	import com.esri.ags.geometry.Geometry;
	import com.esri.ags.geometry.MapPoint;
	import com.esri.ags.geometry.Polygon;
	import com.esri.ags.geometry.Polyline;
	
	
	public class RegionBound
	{
		public var minx:Number;
		public var miny:Number;
		public var maxx:Number;
		public var maxy:Number;
		
		public function RegionBound()
		{
		}
		
		public function Bulid( grh:Geometry ):void
		{
			if( grh is Extent )
			{
				var ex:Extent = grh as Extent ;
				minx = ex.xmin;
				miny = ex.ymin;
				
				maxx = ex.xmax;
				maxy = ex.ymax;
			}
		}
	}
}